import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import "@/asstes/css/reset.css";

//在生产环境中，取消react图标的亮起来的效果
//如果在生产环境中，不会取消
if (typeof window.__REACT_DEVTOOLS_GLOBAL_HOOK__==="object"){
  for (let [key,value] of Object.entries(window.__REACT_DEVTOOLS_GLOBAL_HOOK__)){
    window.__REACT_DEVTOOLS_GLOBAL_HOOK__[key]=typeof value =="function" ? ()=>{} : null;
  }
}

ReactDOM.render(
     <>
       <App />
     </>,
  document.getElementById('root')
);
